﻿<?xml version="1.0" encoding="utf-8" ?>
<objects xmlns="http://www.springframework.net"
         xmlns:db="http://www.springframework.net/database">
    <description>控制器配置文件</description>
    
    <!--=====================系统管理begin==============================-->
    <!--部门信息管理-->
    <object id="departmentController" parent="baseController" type="QzgfFrame.Controllers.System.DepartmentManger.DepartmentController, QzgfFrame.Controllers" singleton="false">
        <property name="departmentFacade" ref="departmentFacade"/>
    </object>
    <!--用户信息管理-->
    <object id="userController" parent="baseController" type="QzgfFrame.Controllers.System.UserManger.UserController, QzgfFrame.Controllers" singleton="false">
        <property name="userFacade" ref="userFacade"/>
        <!--
        <property name="roleFacade" ref="roleFacade"/>
        -->
    </object>
    <!--菜单-->
    <object id="menuController"  parent="baseController" type="QzgfFrame.Controllers.System.MenuManger.MenuController, QzgfFrame.Controllers" singleton="false">
        <property name="menuFacade" ref="menuFacade"/>
        <property name="menuFacadeEx" ref="menuFacadeEx"/>
    </object>
    <!--角色-->
    <object id="roleController" parent="baseController" type="QzgfFrame.Controllers.System.RoleManger.RoleController, QzgfFrame.Controllers" singleton="false">
        <property name="roleFacade" ref="roleFacade"/>
    </object>
    <!--菜单字段-->
    <object id="menufieldController" parent="baseController" type="QzgfFrame.Controllers.System.MenufieldManger.MenufieldController, QzgfFrame.Controllers" singleton="false">
        <property name="menufieldFacade" ref="menufieldFacade"/>
    </object>
    <!--权限-->
    <object id="permissionsController" parent="baseController" type=" QzgfFrame.Controllers.System.PermissionsManger.PermissionsController, QzgfFrame.Controllers" singleton="false">
        <property name="permissionsFacade" ref="permissionsFacade"/>
    </object>
    
    <!--
    <object id="UserController" type="QzgfFrame.Controllers.System.MenuManger.UserController, QzgfFrame.Controllers" singleton="false">
        <property name="menuFacade" ref="menuFacade"/>
    </object> 
    -->
    <!--======================系统管理end================================-->
    
    
    
    <!--=======================档案管理begin===============================-->
    <!--========================档案管理end================================-->
    <!--暂时保留待后整合,提供组合系统信息查询方法处理-->
    <object id="SystemDataPro" type="QzgfFrame.Controllers.CommonSupport.SystemDataPro,QzgfFrame.Controllers">
        <property name="menuFacade" ref="menuFacade"/>
    </object>
    <object id="currentUser" type="QzgfFrame.Controllers.CommonSupport.CurrentUser,QzgfFrame.Controllers">
        <property name="cacheFacade" ref="cacheFacade"/>
        <property name="userFacade" ref="userFacade"/>
        <property name="permissionsFacade" ref="permissionsFacade"/>
    </object>
</objects>   

